Skip to content

Instantly share code, notes, and snippets.

View gautham20's full-sized avatar

Gautham Kumaran gautham20

View GitHub Profile
@gautham20
gautham20 / gist:d816c28c4bf14336a1e9
Created February 17, 2016 09:17
k-means clustering example
{
"cells": [
{
"cell_type": "code",
"execution_count": 38,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gautham20
gautham20 / GTM Doc
Last active May 16, 2017 10:02
Google Tag Manager Web Widgets
Adding Custom Web Widgets Using Google Tag Manager
==================================================
Importing GTM scripts
---------------------
To add custom widgets import the file provided into GTM by following these steps.
1. Login to your [google tag manager console](https://tagmanager.google.com/#/home)
2. Click on **Admin** tab
3. Click on **Import Container**
@gautham20
gautham20 / Titan_GTM_Documentation
Last active May 16, 2017 10:02
Google Tag Manager Web Widgets
Adding Custom Web Widgets Using Google Tag Manager
==================================================
Importing GTM scripts
---------------------
To add custom widgets import the file provided into GTM by following these steps.
1. Login to your [google tag manager console](https://tagmanager.google.com/#/home)
2. Click on **Admin** tab
3. Click on **Import Container**
@gautham20
gautham20 / v2 GTM Importing
Last active May 28, 2017 22:29
Importing GTM
Adding Custom Web Widgets Using Google Tag Manager
==================================================
Importing GTM scripts
---------------------
To add custom widgets import the file provided into GTM by following these steps.
1. Login to your [google tag manager console](https://tagmanager.google.com/#/home)
2. Click on **Admin** tab
3. Click on **Import Container**
Adding Your Own Widget
======================
Any Product List created in the Yfret portal can be added as a custom widget to the Home Page of your site.
<h2>Creating a Product List</h2>
- Login to your **Yfret Portal**.
@gautham20
gautham20 / V2 Adding Custom CSS
Last active May 28, 2017 22:27
Adding Custom Css
<h2> Adding Custom CSS for a Widget </h2>
To add a customizable header to widget, follow the steps below.
- Click on **Folder**, and click on **Home Page** or **Product Page**, depending on the widget you want to add CSS to.
- Click on the **Menu** Icon in the top right corner and select **Add new Tag**
![enter image description here](http://i.imgur.com/iOgfokt.png)
- In the Create Tag page replace **untitled tag** with any widget name.For Example **Trending Product CSS** And click on the **Tag Configuration**
![hpw](http://i.imgur.com/tATgb8b.png)
@gautham20
gautham20 / V2 Adding Custom Header
Last active May 28, 2017 22:25
Adding Custom Header
<h2> Creating a Customizable Widget Header </h2>
To add a customizable header to widget, follow the steps below.
- Click on **Folder**, **widget titles**
- Click on the **Menu** Icon in the top right corner and select **Add new Variable**
![enter image description here](http://i.imgur.com/Noqc7IL.png)
- Replace **Untitled Variable** with any **variable name** for example **Trending Products Header**. (Keep Note of this **variable name** as it will be used again) Click on **Variable Configuration**
@gautham20
gautham20 / v2 Change the widget position
Last active May 28, 2017 22:20
Changing the Display Position of Widget
<h2>Changing the Display Position of Widget</h2>
- Click on **Folder**, and click on **Home Page** or **Product Page**, depending on the widget you want to change.
- Click on the **Menu** Icon in the top right corner and select **Add new Variable**
![enter image description here](http://i.imgur.com/LqDm0IN.png)
- Replace **Untitled Variable** with any **variable name** for example **Header Page Position 1**. (Keep Note of this **variable name** as it will be used again) Click on **Variable Configuration**
![enter image description here](http://i.imgur.com/wnwjKqD.png)
@gautham20
gautham20 / V2 Publish the widgets
Last active May 28, 2017 22:29
Publish The Widgets
<h2>Preview the Widgets</h2>
- Click on **Preview** button
![enter image description here](http://i.imgur.com/Sd8D5Pe.png)
> If any steps were off-target in the process, you might face errors at this point. kindly contact us for further assistance.
- A Preview mode bar will appear in the dashboard
![enter image description here](http://i.imgur.com/shvJZx2.png)