Skip to content

Commit

Permalink
chore: use test tracking endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Nov 8, 2023
1 parent cd2dc9b commit 051177b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const BuilderItem: React.FC<Props> = (props) => {
})
);
// @ts-ignore
window.tiTrk?.with('neve').set(componentId, {
window.tiTrk?.with('neve').set(`${componentId}_removed`, {
feature: builder + '_builder',
featureComponent: 'component-removed',
featureValue: { row, slot, item: componentId },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const ComponentsPopover: React.FC<Props> = ({
updateLayout(rowId, slotId, nextItems);
setSidebarItems(sidebarItems.filter((i) => i.id !== itemId));
// @ts-ignore
window.tiTrk?.with('neve').set(itemId, {
window.tiTrk?.with('neve').set(`${itemId}_added`, {
feature: builder + '_builder',
featureComponent: 'component-added',
featureValue: { row: rowId, slot: slotId, item: itemId },
Expand Down
2 changes: 1 addition & 1 deletion inc/core/tracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Tracker {
*
* @var string
*/
public static $track_url = 'http://localhost:3000/bulk-tracking';
public static $track_url = 'https://gentle-cove-mrsmydq0zy5o.ymirsites.com/wp-json/track/events/';

/**
* Send data to the server if the user has opted in.
Expand Down

0 comments on commit 051177b

Please sign in to comment.