You must enable conversion tracking on your project before continuing.
The awe.sm library should be loaded asynchronously to ensure your page renders as fast as possible.
XXXXXXXXXX with your own awe.sm API key, found in Project Settings. Note: This script is the same as the one used to generate our Share Buttons, so if you use both, you only need to include the script once.
Registering conversion goals
When users accomplish a conversion goal, use the
|goal||string||Which of the ten goals has been accomplished:
The integer value of the conversion. If there is no value associated with the conversion, specify
|conversion_id||string||An arbitrary identifier you can supply to identify this individual conversion, such as your application's internal transaction id. 50 character max.|
|conversion_user_id||string||An arbitrary identifier you can supply to identify this user later, such as your application's internal user id. 50 character max.|
- Enabling conversion tracking on your project
- Image based conversion goal tracking
- Server-side conversion goal tracking
If you'd like to track when a new user joins your website as
goal_1, this script would be placed on the successful user registration page:
<script> AWESM.convert('goal_1', 0); </script>
Note: There is no monetary value to this conversion, so
0 is passed for the value.
If you'd like to count a user making a purchase for $3.50 as
goal_2, this script would be placed on the order confirmation page:
<script> AWESM.convert('goal_2', 350); </script>
All your calls for any individual goal do not need to have equal values, so you can call goal_2 with a value other than 350 for another conversion later on.
Last updated 2012-09-05