Skip to content

Commit

Permalink
Update product name references to CommandersAct's tag container
Browse files Browse the repository at this point in the history
  • Loading branch information
tmrdlt committed Jan 22, 2024
1 parent ff69a29 commit 2099b2a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# React-Tag-Commander Documentation

Integrate Tag Commander with your React applications seamlessly using the `react-tag-commander` wrapper.
Integrate CommandersAct's tag container with your React applications seamlessly using the `react-tag-commander` wrapper.

- [Official Tag Commander website](https://www.commandersact.com/fr/produits/tagcommander/)
- **Note**: Familiarize yourself with [Tag Commander's primary documentation](https://community.commandersact.com/tagcommander/) before proceeding.
- [Official CommandersAct's tag container website](https://community.commandersact.com/tagcommander/)
- **Note**: Familiarize yourself with [CommandersAct's tag container's primary documentation](https://community.commandersact.com/tagcommander/) before proceeding.

# Table of Contents
- [Features](#features)
Expand Down
8 changes: 4 additions & 4 deletions tag-commander-sample-app/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tag Commander Sample App
# CommandersAct's tag container sample app

Welcome to the Tag Commander Sample App! This is a demo app showcasing the npm package `react-tag-commander`. The app sets variables in Tag Commander, tracks pageviews, and provides a holistic summary on how the package can be used in a React Single Page Application (SPA).
Welcome to the CommandersAct's Tag Container sample app! This is a demo app showcasing the npm package `react-tag-commander`. The app sets variables in CommandersAct's tag container, tracks pageviews, and provides a holistic summary on how the package can be used in a React Single Page Application (SPA).

## Table of Contents

Expand All @@ -12,11 +12,11 @@ Welcome to the Tag Commander Sample App! This is a demo app showcasing the npm p

## 1. Introduction

`react-tag-commander` is an npm package designed to facilitate the integration of Tag Commander in your React applications. This sample shop showcases its potential and demonstrates how it can be implemented in a real-world application scenario.
`react-tag-commander` is an npm package designed to facilitate the integration of CommandersAct's tag container in your React applications. This sample shop showcases its potential and demonstrates how it can be implemented in a real-world application scenario.

## 2. Features

- Set variables in Tag Commander dynamically.
- Set variables in CommandersAct's tag container dynamically.
- Track pageviews efficiently.
- Easily configure and customize your tags.

Expand Down
2 changes: 1 addition & 1 deletion tag-commander-sample-app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#000000">
<title>Tag Commander React Sample App</title>
<title>CommandersAct's tag container React Sample App</title>
</head>
<body>
<div id="root"></div>
Expand Down
1 change: 1 addition & 0 deletions tag-commander-sample-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tag-commander-sample-app/src/components/shop/PageItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import logo from '../../assets/Tag-Commander.png'; // Tell webpack this JS file

function PageItem({ addToItems, defaultStoreCurrency }) {
const [item, setItem] = useState({
name: "Month Subscription",
name: "Shop Item 1",
price: 99,
quantity: 1
});
Expand Down
2 changes: 1 addition & 1 deletion tag-commander-sample-app/src/components/shop/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Shop = () => {
]})
}, []);

const [items, setItems] = useState([{ id: 0, name: "TagCommander", price: 20, quantity: 1 }]);
const [items, setItems] = useState([{ id: 0, name: "Shop Item 2", price: 20, quantity: 1 }]);
const defaultStoreCurrency = "€";
const [isMsgDisplayed, setIsMsgDisplayed] = useState(false);
const [currentId, setCurrentId] = useState(1);
Expand Down

0 comments on commit 2099b2a

Please sign in to comment.