Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Custom tracking script – Track events

$
0
0

Replies: 0

Hi,

My client is creating an advertising campaign with some third-party.

Need to track,
1. Add to Cart
2. Place order
3. thank you

The script they gave is, (Three scripts for each tracking)

<script>(function(){var VendorPixelURL = 'https://sample.com/event/tracking.php?VendorpixelId=1234&_w=1&rd='+new Date().getTime();(new Image()).src = VendorPixelURL;})();</script><noscript><img height='1' width='1' style='display:none' src='https://sample.com/event/tracking.php?VendorpixelId=1234&_w=1'/></noscript>

Where to add this to “track” events?

Any help?

  • This topic was modified 14 minutes ago by varoon.

Viewing all articles
Browse latest Browse all 59525

Trending Articles