-
Notifications
You must be signed in to change notification settings - Fork 11
Deploying
-
Make a copy of the Spreadsheet template (contains gScript for processing submissions)
-
From main Sheets menu, select
Tools
>Script editor
-
From the Script editor main menu, select
Publish
>Deploy as web app
a. enter
Project Version name
and clickSave New Version
b. set
Execute the app as
toUser accessing the web app
c. set
Who has access to the app
toOnly myself
d. Click
Deploy
-
Back in the Spreadsheet, select the
Settings
sheet tab, and copy the value ofWebAppURL
-
In Google Tag Manager, paste the value you copied into the
WebAppURL
Custom Variable (TODO: can this be read from the sheet by GTM? Could a custom UI button push this to GTM, where the container ID is added to theSettings
tab on the sheet?)
-
Download gtm-recruiter-to-gsheet.json
-
If needed, create a Tag Manager account. (If GTM is already in use on the site and you have access to the container, skip to Step 4)
-
Create a new Tag Manager Container and
Publish
the (currently empty) container. -
In Main Menu under
Admin
>Container
, selectImport Container
(TODO: TEST import to a GTM container).a. For
Choose Container File
, select the file you downloaded above.b. For
Choose workspace
:-
For new containers, select
New
-
For existing containers, select
Existing
c. For
Choose an import option
selectMerge
-
-
Install (or have agency install) the Tag Manager snippet code in the site template.
-
Create any specialized
Triggers
in Tag Manager, e.g. "Only show recruiter on pages in /directory", etc. for the followingTag
:-
recruiter.js
Controls where the recruiter "tab" appears within the site. By default, it is set to appear on all pages that have the GTM snippet installed.
-
-
Test GTM config correctly loads recruiter locally (see Preview and Debug containers)
-
Publish GTM container.
Reminder: this is equivalent to pushing code to production and should follow any QA + testing standards.