bcgov / bcgov/alcs

Change setting in Portal snowplow file

Open Beginner friendly
#2,956 1 comment 0 reactions 0 assignees View on GitHub
Bug
Dominant language
TypeScript
Stars
10
Forks
0
Avg merge
20h 8m
Merged PRs (30d)
30

Description

**Describe the Bug**

It looks like there’s a small error in the tracking setup on https://portal.alc.gov.bc.ca/login
In the Javascript tracking code, the site is set to send tracking data to our Dev/Test data pipeline (which doesn’t feed into dashboards).

This setting is made in the https://portal.alc.gov.bc.ca/assets/snowplow.js file with this line:
var collector = "spm.apps.gov.bc.ca";

If you can get your developer to change that to
var collector = "spt.apps.gov.bc.ca";

(changing “spm” to “spt”), I believe tracking should start working as expected.

**Expected Behaviour**
var collector = "spt.apps.gov.bc.ca";

**Actual Behaviour**
var collector = "spm.apps.gov.bc.ca";

** Steps To Reproduce**
Steps to reproduce the behaviour -> go to https://portal.alc.gov.bc.ca/assets/snowplow.js file

** Additional context**
Snowplow helps us track analytics between the Portal and the ALC website so we can understand how people use the two sites in conjunction.

Confirm this task meets our team [**Definition of Ready (DoR)**](https://www.figma.com/board/XmNkN600aAVWFCBmSDdt10/Team-Documents?node-id=1-2&t=Xjd6nHZZ7YlnoOrD-4) before moving to the **Next Sprint** column.

Confirm this task meets our team [**Definition of Done (DoD)**](https://www.figma.com/board/XmNkN600aAVWFCBmSDdt10/Team-Documents?node-id=3-21&t=Xjd6nHZZ7YlnoOrD-4) before moving to the **Done** column.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the portal's assets/snowplow.js file and inspect the collector setting shown in the issue. Change the collector value from spm.apps.gov.bc.ca to spt.apps.gov.bc.ca, then verify the file serves the expected value at the provided portal URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
analytics
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.