Skip to content

This template variable will take an array of product details and convert them to the required Partnerize item level string for placing in a custom HTML tag.

License

Notifications You must be signed in to change notification settings

webmasterjunkie/partnerize-gtm-product-string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Partnerize GTM Product String

If your GTM setup uses a custom dataLayer structure and a custom HTML image for tracking, this variable will allow you to convert your products into the required format for Partnerize tracking.

Example

Your GTM variable:

[{"Product Name": "Big Shoes", "Price": 32.99},{"Product Name": "Big Hats", "Price": 12.99}]

This custom variable will take the incoming array, and convert it to the formatted string:

[/category:Big%20Shoes/value:32.99][/category:Big%20Hats/value:12.99]

Screenshot

About

This template variable will take an array of product details and convert them to the required Partnerize item level string for placing in a custom HTML tag.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages