Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
// the add_to_cart event triggers when a user adds an offer to the cart on the PressWhizz platform. Additional content or service prices are included in the main product. window.dataLayer = window.dataLayer || []; window.dataLayer.push({ event: "add_to_cart", // push the event when user adds an offer to the cart ecommerce: { user_id: "322", //Unique, consistent identifier for a user across sessions and devices. user_email: "example@test.com", // registered user email items: [ { item_id: "199149", // Unique ID for each product item_name: "Guest Post in Special Category", // We will track each offer as a separate product for reporting purposes. For example: Funds Deposit, Guest Post, Guest Post in Special Category, Link Insert, Link Insert in Special Category, etc Type: string item_brand: "presswhizz", // item_brand can be hardcoded to presswhizz. item_category: "Guest Post", // Guest Post for all guest post products, Link Insert for all Link Insert products, Wallet Deposit for funds deposits, Other for all other (homepage) products. price: 289.00, // Value as in value field above. Type: number, Contains only a number separated by a decimal point, Separator: dot, Good example: 1255.00, Bad examples: 1,225.00, 20.00 EUR, $5.00 Price parameter should be total price for a product (For example, if we have Publisher's Fee: 140.00, Writing Services: 50.00, T2 Link Building Fee: 99.00 total price for that product should be 289.00 quantity: 1 // The quantity will always be set to one, as users can only buy one link from a specific website at a time. }] } });
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)