Cookieless integration with WooCommerce
Last updated
Last updated
For Cookieless tracking, it is mandatory to include click ID parameter and token in the Offer URL and also for all the landing pages while creating an offer in Offer18 dashboard.
"WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager" by WPCode
"WooCommerce Conversion Tracking" by weDevs
Login to the WordPress Admin dashboard.
Go to "Plugins" and search "WooCommerce Conversion Tracking" & "WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager".
Install and activate "WooCommerce Conversion Tracking" & "WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager".
Go to Code Script » Header & Footer
Place the below code in "Scripts in header" field
Save settings
Users must replace '<YOUR-CLICK-ID-PARAMETER>' with the clickid parameter used when creating the offer.
Go to Conversion Tracking (sub-menu to the WooCommerce tab).
Enable "Custom" and Place below code in "Successful Order."
Save Changes
You can collect conversion data using various Offer18 Postback Parameters and WooCommerce data attributes.
Offer18 Postback Parameter
WooCommerce Parameter
sale
{order_subtotal}
adv_sub4
{order_number}