Highlighted

Exact Target Marketing Cloud Analytics. How to map the category ? What about the details when a user is identified?

Rookie Contributor
Hello everyone, i am supposed to implement Exact Target, but there are some parameters that i cannot find. There is the possibility to declare the event of a category viewed, but no mapping of data for it. etmc.push(["trackPageView", {"category" : "INSERT_CATEGORY"}]); Also i am supposed to have Userinfo, but cannot find them either _etmc.push(["setUserInfo", { "email" : "INSERT_EMAIL_OR_UNIQUE_ID", "details" : { "first_name" : "INSERT_FIRST_NAME", "gender" : "INSERT_GENDER" } }]); Thanks for feedback !
1 REPLY 1
Highlighted

Exact Target Marketing Cloud Analytics. How to map the category ? What about the details when a user is identified?

Employee Emeritus
Philippe, Triggering events other then the page view event is handled via the "Events" tab within the Mapping Toolbox. This tab will create an EQUALS statement between the variable selected and the value input into the text field. For the first example (Category Page), let's assume on your category pages you are populating a page_type variable with the value of catgory: utag_data = { ... page_type : "category", ... } You can use this in the Mapping Toolbox to trigger the category event. Select the "page_type" variable from the Data Sources Drop down within the mapping section. Click Select Destination to open the Mapping Toolbox Select the Events Tab Type "category" into the text field (Do Not include quotes) Select "View Category" from the drop down This will trigger the Category event whenever page_type EQUALS "category." After that, all that is needed is to make sure your E-Commerce Extension is set up properly with the product category and the tag template will populate the "category" field automatically. Otherwise you can overwrite the E-commerce Extension by mapping something to "product_category." To trigger the setUserInfo event all that is required is mapping a value to "customer_id." Whenever the customer_id value is populated the "setUserInfo" event will be triggered. This "customer_id" value will be used to populate the "email" parameter within the "setUserInfo" event call. You can also map an object of data to "customer_details" and that will populate the "details" parameter within the event call. Hope this helps!