Commit c5dd9d43 authored by Jarek Ostrowski's avatar Jarek Ostrowski

Merge branch 'persistent-data-layer' into 'master'

Persistent data layer

See merge request !18958
parents 9e9825a5 d3018f89
Pipeline #46714000 passed with stages
in 12 minutes and 43 seconds
---
layout: blank
title: Redirecting
canonical_path: "/2018/10/24/setting-up-gitlab-ci-for-android-projects/"
---
- path = current_page.data.canonical_path
%p{ :style => "text-align: center; margin-top: 30px;" }
Redirecting to
%a{ href: "#{path}" } https://about.gitlab.com#{path}
:javascript
window.location.replace("#{path}")
\ No newline at end of file
%meta{charset: "UTF-8"}
// Creates a dataLayer above GTM tag
%script{ type: "text/javascript"}
window.dataLayer = window.dataLayer || [];
dataLayer = [];
%meta{name: "viewport", content: "width=device-width, initial-scale=1.0"}
%script document.documentElement.className = 'html--js'
......@@ -29,7 +30,6 @@
ga('create', 'UA-37019925-1', 'auto', {allowLinker: true});
ga('require', 'GTM-WC3ZR2P');
-# Google Tag Manager
%script{ type: "text/javascript" }
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
......@@ -39,6 +39,10 @@
})(window,document,'script','dataLayer','GTM-NJXWQL');
-# End Google Tag Manager
-if current_page.data.campaign
%script
dataLayer.push({'campaign': '#{current_page.data.campaign}'});
%title
-
#{current_page.data.title ? current_page.data.title : yield_content(:title)}
......
......@@ -2,9 +2,12 @@
%html{lang: "en"}
%head
= partial "includes/layout/head"
// Tracks post type to measure interest for each type
%script
dataLayer = [{ "postType": "#{current_article.data.postType}" }];
-if current_page.data.postType
%script
dataLayer.push({'postType': '#{current_page.data.postType}'});
-if current_page.data.tags
%script
dataLayer.push({'tags': #{current_page.data.tags.split(", ")}});
%body{:data => {:spy => "scroll", :target => ".qnav"}}
= partial "includes/google/gtm"
= partial "includes/layout/header"
......
---
title: Initial announcement
tags: []
tags: untagged
categories: company
status: publish
type: post
......
---
title: More than 500 people signed up
tags: []
tags: untagged
categories: company
status: publish
type: post
......
---
title: Welcome Marin
tags: []
tags: untagged
categories: company
status: publish
type: post
......
---
title: Working on getting the first people online
tags: []
tags: untagged
categories: engineering
status: publish
type: post
......
---
title: Next 100 people got access
tags: []
tags: untagged
categories: company
status: publish
type: post
......
---
title: Gitlab improvements
tags: []
tags: untagged
categories: company
status: publish
type: post
......
---
title: More invites send out
tags: []
tags: untagged
categories: company
status: publish
type: post
......
---
title: Over half of the beta signups have access
tags: []
tags: untagged
status: publish
type: post
published: true
......
---
title: 'Request for comments: GitLab flow'
tags: []
tags: untagged
categories: company
status: draft
type: post
......
---
title: Your thoughts on Gitlab.com pricing
tags: []
tags: untagged
categories: company
status: publish
type: post
......
---
title: Dmitriy Zaporozhets joins GitLab.com as a co-founder
tags: []
tags: untagged
categories: company
status: publish
type: post
......
---
title: Pricing for GitLab.com announced, 10 users are free and no change until July
tags: []
tags: untagged
categories: company
status: publish
type: post
......
---
title: GitLab 5.0 was released
tags: []
tags: untagged
categories: releases
status: publish
type: post
......
---
title: GitLab Cloud is now running on 5.1
tags: []
tags: untagged
categories: company
status: publish
type: post
......
---
title: GitLab is a Google Summer of Code project
tags: []
tags: untagged
categories: company
status: publish
type: post
......
---
title: GitLab Cloud upgraded to 5.2
tags: []
tags: untagged
categories: company
status: publish
type: post
......
---
title: Jacob Vosmaer joins GitLab.com as a senior service engineer
tags: []
tags: untagged
categories: company
status: publish
type: post
......
......@@ -4,6 +4,7 @@ author: "Steven Zinck & Paul Badcock"
author_twitter:
guest: True
categories: insights
campaign: just commit
image_title: '/images/blogimages/devops-nova-scotia-cover.jpg'
twitter_image: '/images/tweets/devops-nova-scotia-tweet.png'
description: "The Linux Ops team and one of the Development teams at the Government of Nova Scotia introduced DevOps practices to their workflow find out how they did it and what benefits they're now enjoying."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment