forked from suryasev/unofficial-google-trends-api
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Chetabahana edited this page Dec 16, 2021
·
11 revisions
dataLayer = dataLayer || [];
dataLayer.push({
'automl': {
'eventType' : 'detail-page-view',
'userInfo': {
// In most cases the user and visitor id fields can be populated
// from a client side JavaScript variable, for example a cookie.
// If you set the user and/or visitor id values from the server
// populate the `userId` and/or `visitorId` fields here.
},
'eventDetail': {
'recommendationToken': 'recommendation-token'
// In most cases the experiment id field is populated from a
// client side JavaScript variable as defined by the experiment
// manager.
// Otherwise if you set the experiment id value from the server
// populate the `experimentIds` field here.
},
'productEventDetail': {
'productDetails': [{
'id': '123',
'originalPrice': 140.00,
'displayPrice': 130.00,
'currencyCode':'USD'
}
]
}
},
// You can use the 'automl' data layer element along with other
// data layer elements.
'ecommerce': {
...
},
}];
This documentation is mapped under Mapping and licensed under Apache License, Version 2.0.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright (c) 2018-2020 Chetabahana Project
You are on the wiki of our repo