# ask-questions


10/13/2023, 12:21 PM
Hi everyone! I have several questions setting up Growthbook: 1. Can I install GrowthBook code on different domains - for example and 2. Do I have to write the Dimension myself using SQL? 3. Are Targeting attributes similar to Dimensions, and Dimensions are written in SQL, while Targeting attributes are written by programmers? On the original demo call I was told that the segments for dividing customers when running the experiment should be prescribed by the developers via JS, now I can't find a proper link in the documentation


10/15/2023, 7:05 AM
1. Yes, GrowthBook itself doesn’t really care where you’re running the SDK. 2. Yes, though if you use mixpanel, its easier. 3. Yes, they can be similar, and can be the same in many cases - but how they are used are different. The attributes are used for targeting, and the dimensions and segments are used only for analysis (and don’t effect exposure). Targeting attributes are simpler to use as they require no SQL, but you do have to define in the SDK the values of the attributes.
🙏 1