This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"action_source": "system_generated", | |
"custom_data": { | |
"event_source": "crm", | |
"lead_event_source": "Your CRM" | |
}, | |
"event_name": "Lead", | |
"event_time": 1673035686, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
// script para pegar a cookie de email vindo da GTM para ser utilizado na pesquisa que está na página de obrigado | |
const campo1 = document.createElement('input') | |
campo1.type = "hidden" | |
campo1.id = "ck_email" | |
campo1.value = document.cookie.split(";").find( row => row.trim().startsWith('em')).split("=")[1] | |
const formulario = document.querySelector('form') | |
formulario.append(campo1) | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
(function () { | |
const parametros = ["utm_source", "utm_medium", "utm_campaign", "utm_term", "utm_content", "fbclid"] | |
r = new URL(window.top.location.href); | |
let scks = [] | |
let utms = {} | |
parametros.forEach((el => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script> | |
<div id="app">{{ message }}</div> | |
<script> | |
const { createApp, ref } = Vue | |
createApp({ | |
setup() { | |
const message = ref('Hello vue!') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
(function () { | |
const parametros = ["utm_source", "utm_medium", "utm_campaign", "utm_term", "utm_content"] | |
r = new URL(window.top.location.href); | |
let scks = [] | |
let utms = {} | |
parametros.forEach((el => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
(function () { | |
let parametros = ["utm_source"]; | |
const url = new URL(window.location.href); | |
const params = new URLSearchParams(url.search); | |
// Coletando parâmetros sem duplicatas | |
for (const [key] of params) { | |
if (!parametros.includes(key)) { | |
parametros.push(key); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
let prefix = ["https://form.typeform.com/to/jbGG1fjo"]; | |
function getParams() { | |
let t = "", | |
e = window.top.location.href, | |
r = new URL(e); | |
if (null != r) { | |
let a = r.searchParams.get("utm_source"), | |
n = r.searchParams.get("utm_medium"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import matplotlib.pyplot as plt | |
from google.colab import drive | |
plt.style.use('ggplot') | |
drive.mount('/content/drive', force_remount=True) | |
%load_ext google.colab.data_table | |
%autosave 30 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
windows | |
#! python3 | |
linux | |
#! /usr/bin/python3 | |
mac | |
#! /usr/bin/env python3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head><title>hello world em ClojureScript</title></head> | |
<body> | |
<script src="out/main.js" type="text/javascript"></script> | |
</body> | |
</html> |
NewerOlder