Created
April 1, 2010 20:53
-
-
Save markmarkoh/352351 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Generic Goal, such as User Registration, to be placed on a "thank you" page | |
| p9.goal("TEST-TOKEN"); | |
| //User Registration with custom parameters, to be placed on a "thank you" page | |
| p9.goal("TEST-TOKEN", { account_type: "premium" }) | |
| //Checkout via shopping cart with custom parameters, to be placed after the order is confirmed or on a "thank you" page | |
| p9.goal("TEST-TOKEN", { num_items: 5, total_cost: 43.44, coupon_used: false}); | |
| //Page view with custom parameters | |
| p9.goal("TEST-TOKEN", { type: "page view", registered: false, article_name: "High Fructose corn Syrup considered dangerous"}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment