Data mapping is the configuration needed to send data from a data layer variable to the corresponding variable of the vendor tag. For example, a vendor might collect page name information in a variable named
pName, but your data layer contains this value in the variable named
page_name. To send the value of
pName, you use a data mapping. Once the data mapping is configured, the value from the data layer variable will always be passed to the vendor variable when that tag is triggered.
Use the following steps to map variables to fuel your new tag:
That's it! The Google Analytics tag is now configured to pass the value of
page_name from your data layer to the
Great job, you are well on your way! Now that you have successfully configured your new marketplace tag, click Next to learn about extensions and how to use them.