Skip to content

raghul-mukundan/raghul.segment.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

<title>Sneakerhead Signup</title> <script> !function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware"];analytics.factory=function(e){return function(){var t=Array.prototype.slice.call(arguments);t.unshift(e);analytics.push(t);return analytics}};for(var e=0;e

Sign up for the latest information on sneaker drops!

Enter your contact information if you would like to receive alerts about the best sneakers as soon as they drop.



Name:

Email:

Preferred Shoe Running Cross Trainers Sports


<script type="text/javascript"> function identify(e){ e.preventDefault(); var form = e.target; var email = form["email"].value; var fullname = form["fullname"].value; var shoeType = form["shoeType"].value; var user = { email: email, name: fullname }; // Identify call analytics.identify('12345', { email: email, name: fullname, shoeType: shoeType }); // Sign-up Track call analytics.track('user signed up', user, function() { window.location.href = ""; }); // Ecommerce Events analytics.track('Products Searched', { query: 'kith air force 1' }); analytics.track('Product List Viewed', { list_id: 'hot_sneakers_2021', category: 'Trendy', products: [ { product_id: '507f1f77bcf86cd799439011', sku: '45790-32', name: 'Air Jordan 4 - White / Military Blue - Fire Red', price: 500.00, position: 1, category: 'Jordan', url: 'https://www.example.com/product/path', image_url: 'https://www.example.com/product/path.jpg' }, { product_id: '505bd76785ebb509fc183733', sku: '46493-32', name: 'Kith x Nike Air Force 1 “NYC”', price: 1000.00, position: 2, category: 'Air Force 1' } ] }); analytics.track('Product Viewed', { product_id: '507f1f77bcf86cd799439011', sku: 'G-32', category: 'Jordan', name: 'Air Jordan 4 - White / Military Blue - Fire Red', brand: 'Nike', variant: 'November 2019', price: 500.00, quantity: 1, coupon: 'First_Purchase', currency: 'usd', position: 2, value: 500, last_name: 'Bowerman', url: 'https://www.example.com/product/path', image_url: 'https://www.example.com/product/path.jpg' }); analytics.track('Product Added', { cart_id: 'skdjsidjsdkdj29j', product_id: '507f1f77bcf86cd799439011', sku: 'G-32', category: 'Jordan', name: 'Air Jordan 4 - White / Military Blue - Fire Red', brand: 'Nike', variant: 'November 2019', price: 500.00, quantity: 1, coupon: 'First_Purchase', position: 2, url: 'https://www.example.com/product/path', image_url: 'https://www.example.com/product/path.jpg' }); analytics.track('Order Completed', { checkout_id: 'fksdjfsdjfisjf9sdfjsd9f', order_id: '50314b8e9bcf000000000000', affiliation: 'Google Store', total: 555.00, subtotal: 500.00, revenue: 525.00, shipping: 35.00, tax: 20.00, discount: 30.00, coupon: 'First_Purchase', currency: 'USD', products: [ { product_id: '507f1f77bcf86cd799439011', sku: 'G-32', name: 'Air Jordan 4 - White / Military Blue - Fire Red', price: 500.00, quantity: 1, category: 'Jordan', url: 'https://www.example.com/product/path', image_url: 'https:///www.example.com/product/path.jpg' } ] }); } </script>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published